Basic functions
PageID
Signatures
PageID(id: String, name: (String) -> String, path: (String) -> String = { "${name(it)}/" })
Parameters
id
: An unique identifier of the page. For special pages, start with "_
".name
: The name of the page for each language.path
: The path of the page. Defaults to the name of the page.
Creates a page ID.
builtin
Signatures
fun builtin(indexId: PageID, action: BuiltinTheme.() -> Unit)
Parameters
indexId
: ThePageID
of the index.action
: The code of the generator.
Uses the builtin theme. Enables to use builtin stylesheet and templates.